package io.renren.wechat.authen.service;

import io.renren.wechat.authen.entity.JsapiTicket;
import me.chanjar.weixin.common.exception.WxErrorException;

/**
 * Created by Administrator on 2018/3/19 0019.
 */
public interface LoginService {
    String findUserIdByOpenId(String openId);
    void insertWecharData(String username,String openId);

    JsapiTicket getJsapiTicket(String accessToken) throws WxErrorException;
}
